@charset "UTF-8";

* {
    padding: 0;
    margin: 0;
}

img {
    display: block;
}

body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

ul {
    list-style: none;
}

.index_header {
    width: 100%;

    .index_header_bg {
        width: 1180px;
        height: 100px;
        margin: auto;
        display: flex;
        justify-content: space-between;
        align-items: center;

        img {
            width: 190px;
            height: 50px;
        }

        .on {
            color: #e66586;
        }

        .hotreadAndGirl {
            display: flex;
            width: 150px;
            justify-content: space-between;
        }
    }

    .search-content {
        display: flex;
        align-items: center;
        justify-content: space-between;

        .search-text {
            width: 494px;
            height: 47px;
            background: #fff;
            border: 1px solid #e6e5e5;
            padding-left: 22px;
            box-sizing: border-box;
            outline: none;
        }

        img {
            width: 45px;
            height: 45px;
            background-color: #c54954;
        }
    }

    .main-login {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 180px;
    }

    ul {
        list-style: none;
        display: flex;
        align-items: center;
        justify-content: space-around;
        margin: 0 auto 20px;
        width: 276px;
        height: 20px;
        font-size: 14px;

        li span {
            color: #666;
        }
    }
}


.hotr-nav {
    background-color: #333333;
    width: 100%;
    margin-bottom: 24px;

    ul {
        width: 1180px;
        height: 59px;
        margin: auto;
        list-style: none;
        display: flex;
        justify-content: space-between;
        align-items: center;

        li {
            font-size: 18px;
            color: #fff;
        }
        
        .on {
            background-color: #C54954;
            padding: 0 30px;
            height: 100%;
            line-height: 59px;
        }
    }
}


.bookSort {
    width: 1180px;
    margin: auto;

    .nav {
        background-color: #FAFAFA;
        padding: 19px 0 0 30px;
        border-radius: 4px;

        p {
            font-size: 16px;
            color: #333;
            line-height: 39px;

            span {
                font-size: 14px;
                color: #666;
                padding: 0 10px;

                &:hover {
                    cursor: pointer;
                    color: #c54954;
                }
            }

            .borspan {
                border: 1px #c54954 solid;
                border-radius: 10px;
                color: #c54954;
            }
        }
    }

    .content {
        display: flex;
        justify-content: space-between;

        .books {
            width: 865px;
            height: 100%;
            display: flex;
            flex-wrap: wrap;

            li {
                display: flex;
                width: 432.5px;
                margin: 20px 0 0;
                border-bottom: 1px solid #E6E5E5;
                justify-content: space-between;

                .img {
                    width: 101px;

                    img {
                        width: 100%;
                        height: 140px;
                    }
                }

                div {
                    width: 310px;
                    font-size: 13px;
                    color: #666;
                    margin-bottom: 14px;

                    h2 {
                        display: -webkit-box;
                        /* 将对象作为弹性伸缩盒子模型显示 */
                        width: 290px;
                        line-height: 35px;
                        font-size: 18px;
                        color: #666;
                        overflow: hidden;
                        /*溢出隐藏*/
                        text-overflow: ellipsis;
                        /*溢出部分显示省略号*/
                        -webkit-line-clamp: 1;
                        /* 限制在一个块元素显示的文本的行数 */
                        -webkit-box-orient: vertical;
                    }

                    span {
                        width: 290px;
                        display: -webkit-box;
                        /* 将对象作为弹性伸缩盒子模型显示 */
                        overflow: hidden;
                        /*溢出隐藏*/
                        text-overflow: ellipsis;
                        /*溢出部分显示省略号*/
                        -webkit-line-clamp: 1;
                        /* 限制在一个块元素显示的文本的行数 */
                        -webkit-box-orient: vertical;
                        line-height: 35px;

                        em {
                            font-style: normal;
                        }
                    }

                    p {
                        width: 290px;
                        display: -webkit-box;
                        /* 将对象作为弹性伸缩盒子模型显示 */
                        font-size: 14px;
                        overflow: hidden;
                        /*溢出隐藏*/
                        text-overflow: ellipsis;
                        /*溢出部分显示省略号*/
                        -webkit-line-clamp: 3;
                        /* 限制在一个块元素显示的文本的行数 */
                        -webkit-box-orient: vertical;
                        margin-top: 5px;
                    }
                }
            }
        }

        .ulr {

            .ulrt,
            .ulrc,
            .ulrb {
                width: 270px;
                padding-top: 20px;

                .ulrhead {
                    height: 50px;
                    display: flex;
                    color: #333;
                    justify-content: space-between;
                    padding-top: 7px;
                    box-sizing: border-box;

                    h3 {
                        font-weight: bold;
                        font-size: 18px;
                    }

                    span {
                        display: inline-block;
                        width: 22px;
                        height: 26px;
                        font-size: 14px;
                        text-align: center;
                        line-height: 24px;
                        margin-left: 6px;

                        &:hover {
                            cursor: pointer;
                        }
                    }

                    .bgspan {
                        color: #fff;
                        background: url(https://c.hotread.com/boyPc/assets/images/chart-phb-ob.png) no-repeat;
                        background-size: contain;
                    }
                }

                ul {
                    padding: 4px;
                    border: 1px solid #E6E5E5;
                    border-bottom: none;

                    li {
                        display: flex;
                        height: 38px;
                        margin: 8px 0;
                        line-height: 38px;

                        .num {
                            width: 46px;
                            font-size: 14px;
                            text-align: center;
                        }

                        div {
                            flex: 1;
                            display: flex;

                            span {
                                display: none;
                            }

                            p {
                                flex: 1;
                                display: -webkit-box;
                                /* 将对象作为弹性伸缩盒子模型显示 */
                                font-size: 14px;
                                color: #333;
                                overflow: hidden;
                                /*溢出隐藏*/
                                text-overflow: ellipsis;
                                /*溢出部分显示省略号*/
                                -webkit-line-clamp: 1;
                                /* 限制在一个块元素显示的文本的行数 */
                                -webkit-box-orient: vertical;
                            }

                            em {
                                display: -webkit-box;
                                /* 将对象作为弹性伸缩盒子模型显示 */
                                width: 80px;
                                font-size: 12px;
                                font-style: normal;
                                text-align: end;
                                color: #999;
                                padding-right: 10px;
                                overflow: hidden;
                                /*溢出隐藏*/
                                text-overflow: ellipsis;
                                /*溢出部分显示省略号*/
                                -webkit-line-clamp: 1;
                                /* 限制在一个块元素显示的文本的行数 */
                                -webkit-box-orient: vertical;
                            }

                        }

                        img {
                            display: none;
                        }

                    }

                    .change {
                        display: flex;
                        height: 90px;
                        margin: 8px 0;
                        background-color: #F1F1F5;

                        .num {
                            width: 46px;
                            font-size: 18px;
                            text-align: center;
                            color: #fd2f35;
                        }

                        div {
                            flex: 1;
                            display: block;

                            span {
                                display: block;
                                font-size: 12px;
                                color: #666;
                                line-height: 28px;
                            }

                            p {
                                flex: 1;
                                display: -webkit-box;
                                /* 将对象作为弹性伸缩盒子模型显示 */
                                font-size: 14px;
                                line-height: 15px;
                                color: #000;
                                overflow: hidden;
                                /*溢出隐藏*/
                                text-overflow: ellipsis;
                                /*溢出部分显示省略号*/
                                -webkit-line-clamp: 1;
                                /* 限制在一个块元素显示的文本的行数 */
                                -webkit-box-orient: vertical;
                                margin-top: 14px;
                            }

                            em {
                                display: -webkit-box;
                                /* 将对象作为弹性伸缩盒子模型显示 */
                                width: 80px;
                                font-size: 12px;
                                font-style: normal;
                                line-height: 20px;
                                text-align: end;
                                color: #999;
                                padding-right: 10px;
                                overflow: hidden;
                                /*溢出隐藏*/
                                text-overflow: ellipsis;
                                /*溢出部分显示省略号*/
                                -webkit-line-clamp: 1;
                                /* 限制在一个块元素显示的文本的行数 */
                                -webkit-box-orient: vertical;
                            }
                        }

                        img {
                            display: block;
                            width: 52px;
                            height: 70px;
                            margin-top: 10px;
                        }
                    }
                }

                a {
                    display: block;
                    font-size: 14px;
                    color: #999;
                    text-decoration: none;
                    line-height: 41px;
                    text-align: center;
                    box-sizing: border-box;
                    border: 1px solid #E6E5E5;
                    border-top: none;
                    background-color: #F8F7F7;

                    &::after {
                        content: "";
                        margin-left: 5px;
                        display: inline-block;
                        width: 6px;
                        height: 10px;
                        background: url("../img/bookMore.png") no-repeat 50%/6px 10px;
                    }
                }
            }
        }
    }
}